<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>工资管理系统</title>
<link href="css/form.css" rel="stylesheet" type="text/css">
<link href="css/staff.css" rel="stylesheet" type="text/css">
<link href="css/login_button.css" type="text/css" rel="stylesheet">
</head>
<body>
<section><a href="logout">注销</a>&nbsp;&nbsp;您现在的位置：首页</section>
	<h1 style="text-align:center" class="title">欢迎你，${staff.name}</h1>
	<div id="form">
	<form action="/salary_manage/select" method="post" style=" height: 150px; margin-top: 10px;">
	<p><label>请选择需要查询工资的月份</label>
		<select name="month">
			<option value="Jan">1月</option> 
			<option value="Feb">2月</option> 
			<option value="Mar">3月</option> 
			<option value="APr">4月</option> 
			<option value="Mar">5月</option>
			<option value="June">6月</option>
			<option value="July">7月</option>
			<option value="Aug">8月</option> 
			<option value="Sep">9月</option> 
			<option value="Oct">10月</option>
			<option value="Nov">11月</option>
			<option value="Dec">12月</option>
		</select></p>
		<input type="hidden" name="id" value="${staff.staffSno}"/>
		<p class="submit"><input type="submit"class="bluebuttoncss" value="提交"/></p>
<button type="button" style="margin-left:70px; margin-top: 30px;" class="button blue" onclick="window.location.href = '/salary_manage/select?method=findAllMonth&id=${staff.staffSno}'">查询全部工资</button>
	</form>
	</div>

${message}
</body>
</html>